<div class="layui-fluid layui-bg-white">
    <div class="layui-collapse">
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">Youyaboot简介</h2>
            <div class="layui-colla-content">
                <blockquote class="layui-elem-quote">
                    youyaboot是一个基于springboot2.0的java web快速开发框架；配合magicalcoder代码生成器可实现迅速开发，再配合布局器可以实现二次深度定制界面
                </blockquote>
                <table class="layui-table">
                    <thead class="">
                    <tr class="">

                        <th class="">主要相关技术</th><th class="">更多信息</th>

                    </tr>
                    </thead>
                    <tbody class="">
                    <tr class="">

                        <td class="">Java</td><td class="">JDK8</td>

                    </tr><tr class="">

                        <td class="">SpringBoot </td><td class="">2.1.3.RELEASE</td>

                    </tr><tr class="">

                        <td class="">Layui</td><td class="">2.4.5</td>

                    </tr><tr class="">

                        <td class="">Mybatis</td><td class="">1.3.2</td>

                    </tr><tr class="">

                        <td class="">数据库</td><td class="">支持mysql,oracle,sqlserver,postgersql</td>

                    </tr><tr class="">

                        <td class="">缓存</td><td class="">Redis</td>

                    </tr><tr class="">

                        <td class="">模板引擎</td><td class="">thymeleaf</td>

                    </tr><tr class="">

                        <td class="">模块管理</td><td class="">Maven</td>

                    </tr><tr class="">

                        <td class="">日志组件</td><td class="">logback</td>

                    </tr>
                    </tbody>
                </table>
                <fieldset class="layui-elem-field">
                    <legend class="">基于四种不同数据库版本供选择</legend>
                    <div class="layui-field-box">
                        <div class="layui-row layui-col-space5">
                            <div class="layui-col-md3">
                                youyaboot_mysql
                            </div>
                            <div class="layui-col-md3">
                                youyaboot_oracle
                            </div>
                            <div class="layui-col-md3">
                                youyaboot_sqlserver
                            </div>
                            <div class="layui-col-md3">
                                youyaboot_postgresql
                            </div>
                        </div>
                    </div>
                </fieldset>
                <blockquote class="layui-elem-quote layui-quote-nm">
                    开源地址：https://gitee.com/magicalcoder/youyaboot 欢迎每一位爱好者的加入开发者队列 可向群主申请
                </blockquote>
            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">安装打包部署方法</h2>
            <div class="layui-colla-content">
                <div class="layui-card">
                    <div class="layui-card-header">
                        环境准备
                    </div>
                    <div class="layui-card-body">
                        <blockquote class="layui-elem-quote">
                            第一步：导入IDEA,只需要idea的maven模块导入youyaboot_mysql\pom.xml即可；也可参考首页视频教程
                        </blockquote>
                        <blockquote class="layui-elem-quote">
                            第二步：导入数据库脚本 youyaboot_mysql\youyaboot.sql导入本地数据库
                        </blockquote>
                        <blockquote class="layui-elem-quote">
                            第三步：配置\youyaboot_mysql\youyaboot-admin\src\main\resources\application-localhost.yml  application-publish.yml   相关数据库 redis等信息 application-xxx.yml代表不同环境的配置信息
                        </blockquote>
                        <blockquote class="layui-elem-quote">
                            第四步：启动redis 在软件包windows64bit\project\redis\redis启动.bat 其他系统请自行准备
                        </blockquote>
                    </div>
                </div>
                <div class="layui-card">
                    <div class="layui-card-header">
                        开发环境启动
                    </div>
                    <div class="layui-card-body">
                        <blockquote class="layui-elem-quote">
                            idea运行：youyaboot\youyaboot-admin\src\main\java\com\magicalcoder\youyaboot\admin\YouyaBootAdminApplication.java
                        </blockquote>
                    </div>
                </div>
                <div class="layui-card">
                    <div class="layui-card-header">
                        线上环境启动
                    </div>
                    <div class="layui-card-body">
                        <blockquote class="layui-elem-quote">

                            <div class="layui-row layui-col-space5">
                                <div class="layui-col-md12">
                                    cd youyaboot_mysql
                                </div>
                                <div class="layui-col-md12">
                                    打包编译: mvn clean package
                                </div>
                                <div class="layui-col-md12">
                                    cd youyaboot_admin/target/
                                </div>
                                <div class="layui-col-md12">
                                    linux方式启动：nohup nohupGps java -jar youyaboot-admin.jar --spring.profiles.active=publish 2 1
                                </div>
                                <div class="layui-col-md12">
                                    windows方式启动：java -jar youyaboot-admin.jar
                                </div>
                                <div class="layui-col-md12">
                                    访问：http://localhost:18080/youyaboot-admin 用户名密码：admin/admin
                                </div>


                            </div>
                        </blockquote>
                    </div>
                </div>
                <div class="layui-card">
                    <div class="layui-card-header">
                        浏览器访问
                    </div>
                    <div class="layui-card-body">
                        <blockquote class="layui-elem-quote">
                            访问：http://localhost:18080/youyaboot-admin 用户名密码：admin/admin
                        </blockquote>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend class="">集群部署</legend>
                    <div class="layui-field-box">
                        <div class="layui-row layui-col-space5">
                            <div class="layui-col-md12">
                                youyaboot登录信息基于redis;所以支持集群部署，多台机器共享登录信息
                            </div>
                            <div class="layui-col-md12">
                                集群部署方案：参考nginx负载均衡配置
                            </div>
                            <div class="layui-col-md12">
                                <pre class="magicalcoder-code">                                    upstream youyaboot_server {
                                    server 127.0.0.1:18080;
                                    server 127.0.0.1:18081;
                                    }
                                    server {
                                    listen       80;
                                    server_name  www.youyaboot.com;

                                    location ~ ^/(youyaboot-admin) {
                                    proxy_pass          http://youyaboot_server;
                                    proxy_set_header    Host    $host;
                                    proxy_set_header   X-Real-IP        $remote_addr;
                                    proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
                                    }

                                </pre>
                            </div>


                        </div>
                    </div>
                </fieldset>
            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">利用代码生成器开发一个功能</h2>
            <div class="layui-colla-content">






            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">缓存</h2>
            <div class="layui-colla-content">





            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">前端开发</h2>
            <div class="layui-colla-content">





            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">框架</h2>
            <div class="layui-colla-content layui-show">





            </div>
        </div>
    </div>
</div>
